import Vue from 'vue'
import {
  Button,
  Form,
  FormItem,
  Input,
  Icon,
  MenuItem,
  Menu,
  Radio,
  Layout,
  Sider,
  Header,
  Content,
  Table,
  Drawer,
  Slider,
  Select,
  Option,
  RadioGroup,
  InputNumber,
  Row,
  Col,
  Tooltip,
  Page,
  Upload,
  Message
} from 'view-design'

import 'view-design/dist/styles/iview.css'

Vue.component('Button', Button)
Vue.component('Form', Form)
Vue.component('FormItem', FormItem)
Vue.component('Input', Input)
Vue.component('Icon', Icon)
Vue.component('MenuItem', MenuItem)
Vue.component('Menu', Menu)
Vue.component('Radio', Radio)
Vue.component('Content', Content)
Vue.component('Header', Header)
Vue.component('Sider', Sider)
Vue.component('Layout', Layout)
Vue.component('Table', Table)
Vue.component('Drawer', Drawer)
Vue.component('Slider', Slider)
Vue.component('Option', Option)
Vue.component('Select', Select)
Vue.component('RadioGroup', RadioGroup)
Vue.component('InputNumber', InputNumber)
Vue.component('Row', Row)
Vue.component('Col', Col)
Vue.component('Tooltip', Tooltip)
Vue.component('Page', Page)
Vue.component('Upload', Upload)
Vue.prototype.msg = Message
